from django.urls import path
from . import views

app_name = 'blogs'
urlpatterns = [
    path('', views.index, name='index'),
    path('blogs/', views.blogs, name='blogs'),
    path('login/', views.user_login, name='login'),
    # ex: /blogs/5/
    path("<int:blog_id>/", views.content, name="content"),
    path("new_post/", views.new_post, name="new_post"),
    path("save_post/", views.save_post, name="save_post")
]